﻿using WMS.FC.Domain.DomainObject.System;

namespace WMS.FC.Domain.DomainObject.Menu
{
    /// <summary>
    /// 菜单
    /// </summary>
    public class MenuDO : DomainObjectBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; } = string.Empty;

        /// <summary>
        /// 菜单地址
        /// </summary>
        public string Url { get; set; } = string.Empty;

        /// <summary>
        /// 子菜单
        /// </summary>
        public List<MenuDO> Children { get; set; } = new List<MenuDO>();
    }
}
